﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EDC.Common.Exceptions
{
    /// <summary>
    /// The exception that is thrown when try to get or set data on not loaded csv file 
    /// </summary>
    public class NotLoadedDataException : Exception
    {
        /// <summary>
        /// Initializes a new instance of the NotLoadedDataException class with a specified error message.
        /// </summary>
        /// <param name="message">Message</param>
        public NotLoadedDataException(string message) : base(message)
        {
        
        }

        /// <summary>
        /// 
        /// Initializes a new instance of the NotLoadedDataException class with a specified error message and a reference to the inner exception that is the cause of this exception.
        /// </summary>
        /// <param name="message">Message</param>
        /// <param name="innerException">Inner exception</param>
        public NotLoadedDataException(string message, Exception innerException) : base(message, innerException)
        {

        }

        /// <summary>
        /// Initializes a new instance of the NotLoadedDataException class with default properties.
        /// 
        /// </summary>
        public NotLoadedDataException() : base()
        {

        }
    }
}
